<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>test foo.js</title>
    <script type="application/javascript" src="../../dist/foo.umd.js"></script>
</head>
<body>

<script>
    console.log(window)
    console.log(window.JustMicrobundle) // {foo: ƒ}
    // 这个就是调用 foo()
    JustMicrobundle.foo() // I am foo
    // 这个就是调用 fooDefault()
    JustMicrobundle.default() // I am fooDefault
</script>

</body>
</html>
